home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BCI NET 2
/
BCI NET 2.iso
/
archives
/
programming
/
c
/
amivogl-1.03.lzh
/
vogl
/
drivers
/
ibmpc
/
vega_dra.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1991-07-18
|
318 b
|
20 lines
#include "vogl.h"
/*
* vega_draw
*
* For V/EGA
* Draws a line from the current screen spot to x, y
*/
extern unsigned _cur_color;
vega_draw(x, y)
register int x, y;
{
egaline(vdevice.cpVx, vdevice.sizeSy - vdevice.cpVy, x, vdevice.sizeSy - y, _cur_color);
vdevice.cpVx = x;
vdevice.cpVy = y;
return(0);
}